projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ef2af
)
tests: Use gdk_screen_get_default_colormap()
author
Benjamin Otte
<otte@redhat.com>
Tue, 13 Jul 2010 00:38:21 +0000
(
02:38
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 26 Jul 2010 14:42:48 +0000
(16:42 +0200)
We don't need the RGB colormap here.
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index e2d5d36f91669421619750c738147b2eff9b115a..174ee8870430ad5d2033711777c36b45f8ff3bba 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-324,7
+324,7
@@
on_alpha_screen_changed (GtkWidget *widget,
if (!colormap)
{
- colormap = gdk_screen_get_
rgb
_colormap (screen);
+ colormap = gdk_screen_get_
default
_colormap (screen);
gtk_label_set_markup (GTK_LABEL (label), "<b>Screen doesn't support alpha</b>");
}
else